Skip to content

Added compiler.warning_flags to platform.txt; fixing #6118 #6596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
May 9, 2022

Conversation

PilnyTomas
Copy link
Contributor

Summary

Added compiler.warning_flags to all chips in platform.txt to reflect users setting of warning level output during compilation (set up in Arduino IDE preferences)

Impact

When a warning is set to none the compilation will no longer display warnings

Related links

Solves issue #6118

@github-actions
Copy link
Contributor

github-actions bot commented Apr 20, 2022

Unit Test Results

0 files  0 suites   0s ⏱️
0 tests 0 ✔️ 0 💤 0

Results for commit d68c66f.

♻️ This comment has been updated with latest results.

@mrengineer7777
Copy link
Collaborator

Why does this PR modify "cores/esp32/esp32-hal-i2c-slave.c" and "libraries/WiFiClientSecure/src/esp_crt_bundle.c"?

@PilnyTomas
Copy link
Contributor Author

Why does this PR modify "cores/esp32/esp32-hal-i2c-slave.c" and "libraries/WiFiClientSecure/src/esp_crt_bundle.c"?

With the new compiler settings, the previously hidden warnings are now treated as errors and the CI is failing. Following commits are simply satisfying the compiler/CI. The changes are mostly removing unused variables and such.

@mrengineer7777
Copy link
Collaborator

With the new compiler settings, the previously hidden warnings are now treated as errors and the CI is failing. Following commits are simply satisfying the compiler/CI. The changes are mostly removing unused variables and such.

Makes sense. I glanced over the code and don't see any obvious issues.

@VojtechBartoska
Copy link
Contributor

any updates on this @PilnyTomas?

@me-no-dev
Copy link
Member

Thanks @PilnyTomas for your hard work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants